﻿@model Devbridge.IPolice.Web.Models.Crimes.CrimeListViewModel

@{
    ViewBag.Title = "Last week crimes";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Last week crimes</h2>
<ul>
    @foreach (var crime in Model.Crimes)
    {
        <li>@crime.Date - @crime.Description</li>
    }
</ul>
<span>Crimes count: @Model.CrimesCount</span>
<p>
    <span>Last  crime:</span>
    <br/>
    @Model.LastCrime
</p>